import http from '@/utils/http'

export function login(data){ 
    return http.post('/sso/doLogin', data)
}

export function getTokenByTicket(data){ 
    return http.post('/user/sso/doLoginByTicket?ticket=' + data)
}